home *** CD-ROM | disk | FTP | other *** search
/ Mobiclic 47 / MOBICLIC 47.ISO / mac / DATA / COMMUNS / MOBICLIC_MENUS.CST / 00034_Script_GESTION_COIN_VERT_STANDARD < prev    next >
Text File  |  2002-09-19  |  948b  |  40 lines

  1. global validMHD, menusActifs, menuOuvert, pisteMenuHD, pisteCoinHD, ouvreMenuHD, fermeMenuHD, menuFermeHD
  2. ------------------------
  3. on beginSprite
  4.   pisteCoinHD = the currentSpriteNum
  5. end
  6. --------------------------
  7. on mouseUp
  8.   if the pauseState=0 then
  9.     if menusActifs=1 and menuOuvert=0 then
  10.       cursor 280
  11.       ouvreMenuHD=1
  12.       menuFermeHD=0
  13.       sprite(pisteMenuHD).memberNum = member("menuHD").number
  14.       sprite(pisteMenuHD).rect = rect(536,0,640,381)
  15.       afficherPistes pisteMenuHD
  16.       updateStage
  17.       menuOuvert = "HD"
  18.       put "  Ouverture Θquerre Verte"
  19.     end if
  20.   end if
  21. end
  22. ---------------------
  23. on mouseEnter
  24.   if menusActifs=1 then
  25.     equerre pisteCoinHD
  26.   end if
  27. end
  28. -----------------------
  29. on mouseLeave
  30.   if the pauseState=0 then
  31.     if rollOver(pisteMenuHD)=0 then
  32.       cursor -1
  33.       menuOuvert = 0
  34.       fermeMenuHD=1
  35.     end if
  36.   end if
  37. end
  38. ------------------------
  39.  
  40.